package com.example.optimizeapplication.receive;

import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.util.Log;

import com.example.optimizeapplication.MainActivity;

public class OrderARecevieer extends BroadcastReceiver {
    @Override
    public void onReceive(Context context, Intent intent) {
        if(intent != null && intent.getAction().equals(MainActivity.orderAction)){
            Log.d("sp", "接收器A收到了一个有序广播");
        }
    }
}
